package com.amazon.ags.client.whispersync;

import android.os.Bundle;
import com.amazon.ags.client.whispersync.savedgame.JsonSummaryMarshaller;
import com.amazon.ags.client.whispersync.savedgame.SummaryMarshaller;

public class SummaryBundleParser
{
  private static SummaryMarshaller marshaller = new JsonSummaryMarshaller();

  protected SummaryBundleParser()
  {
    throw new UnsupportedOperationException();
  }

  static GameSummary parse(Bundle paramBundle)
  {
    String str = paramBundle.getString("CLOUD_GAME_SUMMARY");
    GameSummary localGameSummary = null;
    if (str != null)
      localGameSummary = marshaller.unmarshal(str);
    return localGameSummary;
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.amazon.ags.client.whispersync.SummaryBundleParser
 * JD-Core Version:    0.6.2
 */